package com.cqz.dao;

import java.math.BigDecimal;

public class BookInfo {
    private Integer bid;

    private String bname;

    private String bauthor;

    private BigDecimal bscore;

    private BigDecimal bprice;

    private String burl;

    private Integer bnum;

    private String btext;

    public BookInfo() {
    }

    public BookInfo(Integer bid, String bname, String bauthor, BigDecimal bscore, BigDecimal bprice, String burl, Integer bnum, String btext) {
        this.bid = bid;
        this.bname = bname;
        this.bauthor = bauthor;
        this.bscore = bscore;
        this.bprice = bprice;
        this.burl = burl;
        this.bnum = bnum;
        this.btext = btext;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname == null ? null : bname.trim();
    }

    public String getBauthor() {
        return bauthor;
    }

    public void setBauthor(String bauthor) {
        this.bauthor = bauthor == null ? null : bauthor.trim();
    }

    public BigDecimal getBscore() {
        return bscore;
    }

    public void setBscore(BigDecimal bscore) {
        this.bscore = bscore;
    }

    public BigDecimal getBprice() {
        return bprice;
    }

    public void setBprice(BigDecimal bprice) {
        this.bprice = bprice;
    }

    public String getBurl() {
        return burl;
    }

    public void setBurl(String burl) {
        this.burl = burl == null ? null : burl.trim();
    }

    public Integer getBnum() {
        return bnum;
    }

    public void setBnum(Integer bnum) {
        this.bnum = bnum;
    }

    public String getBtext() {
        return btext;
    }

    public void setBtext(String btext) {
        this.btext = btext == null ? null : btext.trim();
    }
}